/**
 * Created by Eoly on 2017/1/1.
 */


var p1 = new Point(1,1);
var p2 = p1.getOtherPointFromDistanceAndDeg(20,270);
console.log(p2);